package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分类对象 st_class
 * 
 * @author ruoyi
 * @date 2024-02-06
 */
public class StClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String classname;

    /** 分类类型 */
    @Excel(name = "分类类型")
    private String classtype;

    /** 时间 */
    @Excel(name = "时间")
    private String creatertime;
    private String flagstate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setClassname(String classname) 
    {
        this.classname = classname;
    }

    public String getClassname() 
    {
        return classname;
    }
    public void setClasstype(String classtype) 
    {
        this.classtype = classtype;
    }

    public String getClasstype() 
    {
        return classtype;
    }
    public void setCreatertime(String creatertime) 
    {
        this.creatertime = creatertime;
    }

    public String getCreatertime() 
    {
        return creatertime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classname", getClassname())
            .append("classtype", getClasstype())
            .append("creatertime", getCreatertime())
            .toString();
    }

    public String getFlagstate() {
        return flagstate;
    }

    public void setFlagstate(String flagstate) {
        this.flagstate = flagstate;
    }
}
